// 组件下面的Home.vue
<template>
  <div>
    <!-- to="对应index.js路由集合的path属性值" -->
    这是商城的首页
    <router-link to="/test1">test1</router-link><br>
    这是test5
    <router-link to="/test5">test5</router-link>
    <!-- 使用vant的样式 -->
    <van-button type="primary">主要按钮</van-button>
    <van-button type="success">成功按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>
    <!-- 使用element的样式 -->
    <el-button type="primary">Primary</el-button>
    <el-button type="success">Success</el-button>
    <el-button type="info">Info</el-button>
    <el-button type="warning">Warning</el-button>
    <el-button type="danger">Danger</el-button>
  </div>
</template>
<script>
export default {}
</script>